package com.fjh.constant;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public interface GatewayConstant {
    /**
     * 放行的地址
     */
    List<String> ALLOW_URLS = Arrays.asList("/oauth/token");
    /**
     * 请求头的key
     */
    String AUTHORIZATION = "Authorization";
    /**
     * token的前缀
     */
    String BEARER_PREFIX = "bearer ";
    /**
     * 存储redis的前缀
     */
    String OAUTH_PREFIX= "oauth:jwt:";
}
